//
//  YDPointSaleConfirPopController.m
//  PeiZiWangBei
//
//  Created by LK-IOS on 2017/11/10.
//  Copyright © 2017年 LK-IOS. All rights reserved.
//

#import "YDPointSaleConfirPopController.h"

@interface YDPointSaleConfirPopController()


@end


@implementation YDPointSaleConfirPopController

-(instancetype)initWithPresentedViewController:(UIViewController *)presentedViewController presentingViewController:(UIViewController *)presentingViewController
{
    return  [super initWithPresentedViewController:presentedViewController presentingViewController:presentingViewController];
}


//拿到即将要弹出的view,设置他的frame
-(void)containerViewWillLayoutSubviews
{
    
    self.presentedView.frame = CGRectMake(0, 0, LKScreenW, LKScreenH);
    
}

//将要弹出的时候调用
- (void)presentationTransitionWillBegin
{
    //在弹出的上下文上覆盖一个按钮,当点击按钮的时候,退出弹框
    
    
}

@end
